<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>邮箱验证码</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
            background-color: #f8f9fa;
        }
        .email-container {
            background: white;
            border-radius: 12px;
            padding: 40px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }
        .header {
            text-align: center;
            margin-bottom: 30px;
        }
        .logo {
            font-size: 48px;
            margin-bottom: 10px;
        }
        .title {
            font-size: 24px;
            font-weight: 700;
            color: #2d3748;
            margin: 0;
        }
        .content {
            margin-bottom: 30px;
        }
        .greeting {
            font-size: 16px;
            margin-bottom: 20px;
        }
        .code-container {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 12px;
            padding: 30px;
            text-align: center;
            margin: 30px 0;
        }
        .code-label {
            color: white;
            font-size: 14px;
            margin-bottom: 10px;
            opacity: 0.9;
        }
        .verification-code {
            font-size: 36px;
            font-weight: 700;
            color: white;
            letter-spacing: 8px;
            margin: 0;
            font-family: 'Courier New', monospace;
        }
        .notice {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 8px;
            padding: 15px;
            margin: 20px 0;
            font-size: 14px;
            color: #856404;
        }
        .footer {
            text-align: center;
            font-size: 12px;
            color: #718096;
            border-top: 1px solid #e2e8f0;
            padding-top: 20px;
            margin-top: 30px;
        }
        .footer a {
            color: #667eea;
            text-decoration: none;
        }
    </style>
</head>
<body>
    <div class="email-container">
        <div class="header">
            <div class="logo">💰</div>
            <h1 class="title">{{ config('app.name') }}</h1>
        </div>

        <div class="content">
            <div class="greeting">
                您好！
            </div>

            <p>感谢您注册{{ config('app.name') }}！为了确保您的账户安全，请使用以下验证码完成注册：</p>

            <div class="code-container">
                <div class="code-label">您的验证码是</div>
                <div class="verification-code">{{ $code }}</div>
            </div>

            <div class="notice">
                <strong>重要提醒：</strong>
                <ul style="margin: 10px 0; padding-left: 20px;">
                    <li>验证码有效期为 <strong>5分钟</strong></li>
                    <li>请勿将验证码告诉他人</li>
                    <li>如果您没有注册{{ config('app.name') }}，请忽略此邮件</li>
                </ul>
            </div>

            <p>如果您在注册过程中遇到任何问题，请联系我们的客服团队。</p>
        </div>

        <div class="footer">
            <p>此邮件由系统自动发送，请勿回复</p>
            <p>© {{ date('Y') }} {{ config('app.name') }}. 保留所有权利.</p>
        </div>
    </div>
</body>
</html>
